#include "StdAfx.h"
#include "SProgressTextFactory.h"
//#include "..\StormWidgetUILibrary\LabelPanelUI.h"

CSProgressTextFactory::CSProgressTextFactory(void)
{
}

CSProgressTextFactory::~CSProgressTextFactory(void)
{
}

LPCTSTR CSProgressTextFactory::GetText(CStdString strType,CStdString strCharacter)
{
	CStdString strRes;
	if(strType == L"progresstext")
	{
		strRes = DOWNLOAD_PROGERSS_NUMBER_HEAD;
		strRes += strCharacter;
		strRes += DOWNLOAD_PROGERSS_NUMBER_TAIL;
	}
	else if(strType == L"listnumbertext")
	{
		strRes = DOWNLOAD_COMPLETE_NUMBER_HEAD;
		strRes += strCharacter;
		strRes += DOWNLOAD_COMPLETE_NUMBER_TAIL;
	}
	return strRes.GetData();
}
